<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="jquery.js"></script>
		<script src="jquery.cookie.js"></script>
	</head>
	<body>
	欢迎来到演示平台
	
	</body>
	<script>
		// 1. 配置参数
		var arr={
			"a":"dd",
			"c":"jj"
			};
	$.cookie('magang', JSON.stringify(arr));


// 3. 获取cookie
		var value=$.cookie("magang");
		console.log( $.parseJSON(value));
		$.removeCookie('magang'); // => false
		console.log( "remove="+$.cookie("magang"));
	</script>
</html>
